Skip to content

Conversation

@LinusBorg
Copy link
Member

@LinusBorg LinusBorg commented May 24, 2022

app.unmount() fails in a hydrated app because unlike render(), hydrate() doesn't cache cache the root vnode on the container element.

This PR fixes that, so that app.unmount() runs correctly for hydrated apps as well.

close: #5990

@yyx990803 yyx990803 merged commit d4d3319 into main May 24, 2022
@yyx990803 yyx990803 deleted the linusborg/createssrapp-unmount-fix-5990 branch May 24, 2022 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

App created with 'createSSRApp()' on the client side is not unmounted when call 'app.unmount()' method.

3 participants